﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;

namespace University.Workshop.Presenters.MedicalSuppliesFolder
{
    public class PresenterSearchMedicalSupplies
    {
        ISearchMedicalSupplies view;
        public PresenterSearchMedicalSupplies(ISearchMedicalSupplies view)
        {
            this.view = view;
        }

        public ICollection<MedicalSupplies> LoadMedicalSupplies()
        {
            return MedicalSuppliesManager.GetMedicalSuppliesForName(view.ItemName);
        }
    }
}
